Repository navigation
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #622 +/- ##
=======================================
Coverage 80.18% 80.18%
=======================================
Files 70 75 +5
Lines 8442 8483 +41
Branches 1544 1544
=======================================
+ Hits 6769 6802 +33
- Misses 1182 1190 +8
Partials 491 491 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
dweindl
force-pushed
the
shared-models
branch
from
November 23, 2026 13:27
721201b to
2a0e5aa
Compare
Move the model implementation from `petab/v1/models` to `petab/_models`, and the PySB and BNGL tests and fixtures from `tests/v1` to `tests/models`, without changes; the imports are fixed in the next commit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The model classes serve both PEtab v1 and v2, but lived in `petab.v1.models`, with `petab.v2.models` re-exporting them. This suggested that PySB and BNGL models were supported with PEtab v1. Move the implementation to the private package `petab._models` (in the previous commit; here, only imports change). `petab.v1.models` and `petab.v2.models` re-export it. Deprecate (for now only in the changelog) the PySB and BNGL modules in `petab.v1.models`. Move the PySB and BNGL tests and fixtures to `tests/models`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dweindl
force-pushed
the
shared-models
branch
from
November 23, 2026 13:34
2a0e5aa to
1365b1a
Compare
dweindl
marked this pull request as ready for review
November 23, 2026 13:39
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The model classes serve both PEtab v1 and v2 but lived in
petab.v1.models, withpetab.v2.modelsre-exporting them. That suggested PySB and BNGL models were supported with PEtab v1.This moves the implementation to the private package
petab._models;petab.v1.modelsandpetab.v2.modelsre-export it, so all existing import paths keep working.petab.v1.models.pysb_modelandpetab.v1.models.bngl_modelare deprecated in the changelog only, without a runtime warning for now. PySB and BNGL tests and fixtures move totests/models.For review: the first commit only moves files. In the moved model and test files, the second commit only changes imports and paths.
🤖 Generated with Claude Code